package org.swingplus.core.bean;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MetaData {


    //扫描后的的实例
    private List<Object> instances;
    private List<MetaDataType> instanceType;

	private Map<Field,Annotation[]> map;

	private Object instance;



	private Annotation[] annotationsType;


	public Map<Field, Annotation[]> getMap() {
		return map;
	}


	public void setMap(Map<Field, Annotation[]> map) {
		this.map = map;
	}


	public Object getInstance() {
		return instance;
	}


	public void setInstance(Object instance) {
		this.instance = instance;
	}
	public MetaData() {
	}

	public MetaData(Map<Field, Annotation[]> map,List<Object> instance) {
		this.map = map;
		this.instance = instance;
	}

	public Annotation[] getAnnotationsType() {
		return annotationsType;
	}

	public void setAnnotationsType(Annotation[] annotationsType) {
		this.annotationsType = annotationsType;
	}

	public List<MetaDataType> getInstanceType() {
		return instanceType;
	}

	public void setInstanceType(List<MetaDataType> instanceType) {
		this.instanceType = instanceType;
	}

	public List<Object> getInstances() {
		return instances;
	}

	public void setInstances(List<Object> instances) {
		this.instances = instances;
	}
}
